import requests

url = "http://httpbin.org/post"

h = {"token":"xxxt"}
p={"show_env":"5"}
r = requests.post(url,headers=h,params=p)
print(r.text)